<div class="reset" ng-controller="ResetCtrl">

  <div ng-include="'angular/template/include/toptip.html'">

  </div>

  <div class="logo"><img src="angular/images/logo.png" alt="logo"/></div>

  <form name="form" novalidate class="form reset-form" ng-submit="reset()">

    <h1 class="gray-dark text-center no-top-margin font-lg" style="font-weight: 300;">设置密码</h1>
    
    <div class="form-item" ng-show="type == 'reset'">
      <input class="input input-block client-input icon" ng-model="setForm.oldPassword" name="password" type="oldPassword" placeholder="原密码" required/>
    </div>

    <div class="form-item">
      <input type="hidden" ng-model="setForm.customerId" name="customerId" />
      <input class="input input-block client-input icon" ng-model="setForm.password" name="password" type="password" placeholder="新密码" required/>
    </div>

    <div class="form-item">
      <input class="input input-block client-input icon" ng-model="setForm.rePassword" name="rePassword" type="password" placeholder="再次输入密码" required/>
    </div>

    <div class="form-item">
      <button type="submit" class="btn btn-block client-btn" ng-show="{{type == 'reset' || type == 'forget'}}">重置密码</button>
      <button type="submit" class="btn btn-block client-btn" ng-show="{{type == 'register'}}">设置密码</button>
    </div>

    <!--<div class="form-item clearfix font-sm">-->
      <!--<a class="pull-left  blue" ng-href="#/login">返回登录</a>-->
      <!--<a class="pull-right  blue" ng-href="#/register">继续注册</a>-->
    <!--</div>-->

  </form>

</div>

